package auth

// api level
const (
	AdminLevelSuperAdmin      = 1000 // 超级管理员 所有权限 有且只有一位
	AdminLevelAdminAdvanced   = 900  // 特级管理员 查询统计数据
	AdminLevelAdminTop        = 800  // 高级管理员 管理管理员
	AdminLevelAdminMiddle     = 600  // 中级管理员 用户管理 配置管理
	AdminLevelAdminLow        = 400  // 低级管理员 查询钱包 用户
	AdminLevelAdminReadTop    = 300  // 高级只读管理员
	AdminLevelAdminReadMiddle = 200  // 中级只读管理员
	AdminLevelAdminReadLow    = 100  // 低级只读管理员
)

// api name
const (
	// top admin
	SuperAdminAddManagerApi               = 1 //"admin/v1/manager/add"
	SuperAdminQueryManagerListApi         = 2 //"admin/v1/manager/list"
	SuperAdminUpdateManagerApi            = 3 //"admin/v1/manager/update"
	SuperAdminQueryManagerLogListApi      = 4 //"admin/v1/manager/log/list"
	SuperAdminQueryManagerLoginLogListApi = 5 //"admin/v1/manager/log/login/list"

	// app config
	AdminQueryAppConfigListApi = 1001 //"admin/v1/user/appconfig/list"
	AdminUpdateAppConfigApi    = 1002 //"admin/v1/user/appconfig/update"
	AdminUpdateBannerApi       = 1003 //"admin/v1/user/bannerconfig/update"
	AdminQueryBannerListApi    = 1004 //"admin/v1/user/bannerconfig/list"

	AdminDeleteAppConfigApi = 1005 //"admin/v1/user/appconfig/delete"

	// user
	AdminBanUserApi       = 2001 //"admin/v1/user/ban"
	AdminUnbanUserApi     = 2002 //"admin/v1/user/unban"
	AdminQueryUserListApi = 2003 // "admin/v1/user/list"

	AdminQueryUserFeedbackListApi = 2004 //"admin/v1/user/feedback/list"
	AdminReplyUserFeedbackApi     = 2005 //"admin/v1/user/feedback/reply"
	AdminCreateActivityConfigApi  = 2006 //"admin/v1/user/activity/create"
	AdminUpdateActivityConfigApi  = 2007 //"admin/v1/user/activity/update"
	AdminDeleteActivityConfigApi  = 2008 //"admin/v1/user/activity/delete"
	AdminQueryActivityConfigApi   = 2009 //"admin/v1/user/activity/query"

	AdminApkConfigApi       = 2010 //"admin/v1/apk/config"
	AdminUpdateApkConfigApi = 2011 //"admin/v1/apk/config"
	AdminDeleteApkConfigApi = 2013 //"admin/v1/apk/config"
	AdminQueryApkConfigApi  = 2014 //"admin/v1/apk/config"

	AdminServiceUpdateConfigApi       = 2015 //"admin/v1/user/serviceUpdate/create"
	AdminUpdateServiceUpdateConfigApi = 2016 //"admin/v1/serviceUpdate/update"
	AdminDeleteServiceUpdateConfigApi = 2017 //"admin/v1/serviceUpdate/delete"
	AdminQueryServiceUpdateConfigApi  = 2018 //"admin/v1/serviceUpdate/query"

	AdminMarqueeConfigApi       = 2019 //"admin/v1/user/marquee/create"
	AdminUpdateMarqueeConfigApi = 2020 //"admin/v1/marquee/update"
	AdminDeleteMarqueeConfigApi = 2021 //"admin/v1/marquee/delete"
	AdminQueryMarqueeConfigApi  = 2022 //"admin/v1/marquee/query"

	AdminUserInviteConfigApi       = 2023
	AdminUpdateUserInviteConfigApi = 2024
	AdminQueryUserInviteConfigApi  = 2025

	AdminQueryUserInviteOrderFlowApi = 2026

	AdminQueryUserInviteApi = 2027
	AdminChangeBindingApi   = 2028

	// wallet
	AdminQueryUserDepositListApi = 3001 //"admin/v1/user/deposit/list"

	AdminQueryUserWithdrawListApi = 3002 //"admin/v1/user/withdraw/list"
	AdminAuditUserWithdrawApi     = 3003 //"admin/v1/user/withdraw/audit"

	AdminAddWalletExchangeConfigApi       = 3004 //"admin/v1/wallet/exchangeconfig/add"
	AdminUpdateWalletExchangeConfigApi    = 3005 //"admin/v1/wallet/exchangeconfig/update"
	AdminQueryWalletExchangeConfigListApi = 3006 // "admin/v1/wallet/exchangeconfig/list"

	AdminQueryGameOrderListApi = 3007 //"admin/v1/gameorder/list"

	AdminAddWalletMoneyConfigApi       = 3008 //"admin/v1/wallet/moneyconfig/add"
	AdminUpdateWalletMoneyConfigApi    = 3009 //"admin/v1/wallet/moneyconfig/update"
	AdminQueryWalletMoneyConfigListApi = 3010 //"admin/v1/wallet/moneyconfig/list"

	AdminAddWalletPayChannel       = 3011 //"admin/v1/wallet/paychannel/add"
	AdminUpdateWalletPayChannel    = 3012 //"admin/v1/wallet/paychannel/update"
	AdminQueryWalletPayChannelList = 3013 //"admin/v1/wallet/paychannel/list"

	AdminPushUserWithdrawApi = 3014 //"admin/v1/wallet/withdraw/push"

	// game
	AdminAddGameApi       = 4001 // "admin/v1/game/add"
	AdminUpdateGameApi    = 4002 //"admin/v1/game/update"
	AdminQueryGameListApi = 4003 //"admin/v1/game/list"

	AdminAddGameProviderApi                  = 4005 //"admin/v1/game/provider/add"
	AdminUpdateGameProviderApi               = 4006 //"admin/v1/game/provider/update"
	AdminQueryGameProviderListApi            = 4007 //"admin/v1/game/provider/list"
	AdminQueryGameMoneyExchangeConfigListApi = 4008 //"admin/v1/game/moneyexchangeconfig/list"

	// stat
	AdminQueryUserDepositStatApi  = 5001 //"admin/v1/stat/deposit"
	AdminQueryUserWithdrawStatApi = 5002 //"admin/v1/stat/withdraw"
	AdminQueryUserGameStatApi     = 5003 //"admin/v1/stat/gameorder"
	AdminQueryLtvApi              = 5004 //"admin/v1/stat/ltv"
	AdminQueryDataBoardApi        = 5005 //"admin/v1/stat/dataBoard"
)
